package 设计模式.建造者模式;

import 设计模式.建造者模式.material.N1Ceiling;
import 设计模式.建造者模式.material.N2Floor;

/**
 * @description:
 * @author: 小白白
 * @create: 2021-10-08
 **/

public class Main {

    public static void main(String[] args) {
        HomeBuilder homeBuilder = new HomeBuilder();
        homeBuilder.appendCeiling(new N1Ceiling());
        homeBuilder.appendFloor(new N2Floor());
        System.out.println(homeBuilder.toString());
    }

}
